package beerAir;

import javax.persistence.*;

@Entity
public class Airplane {

	@Id
	private String idPlane;
	private int maxSeats;
	private String namePlane;

	public int getMaxSeat(String idPlane){
		return maxSeats;
	}

	public String getIdPlane() {
		return idPlane;
	}

	public void setIdPlane(String idPlane) {
		this.idPlane = idPlane;
	}

	public String getNamePlane() {
		return namePlane;
	}

	public void setNamePlane(String namePlane) {
		this.namePlane = namePlane;
	}

	public void setMaxSeats(int maxSeats) {
		this.maxSeats = maxSeats;
	}

}